Synchronization of code execution

ABSTRACT

A system for determining a toggle value includes an input interface and a processor. The input interface is to receive a request for the toggle value associated with a toggle. The processor is to determine an indicated toggle value associated with the toggle; determine the toggle value associated with the toggle based at least in part on the indicated toggle value and a set of dependencies; and provide the toggle value associated with the toggle.

CROSS REFERENCE TO OTHER APPLICATIONS

This application is a continuation of co-pending U.S. patent applicationSer. No. 15/203,350, entitled SYNCHRONIZATION OF CODE EXECUTION filedJul. 6, 2016 which is incorporated herein by reference for all purposes.

BACKGROUND OF THE INVENTION

Upgrading software on a complex computer system can be a difficultprocess. Some computer systems comprise multiple server systems incommunication with one another and require synchronization of codeupgrades (e.g., each server system needs to transition from the old codeversion to the new code version at the same time). Some computer systemscomprise multiple clients that need to be treated independently (e.g.,some clients require the old code version and some clients require thenew code version). Some computer systems comprise large code basesincluding a large number of code changes that may be in progress at anygiven time. This complexity creates a problem where it is difficult tokeep track of which code version should be used for a particularexecution.

BRIEF DESCRIPTION OF THE DRAWINGS

Various embodiments of the invention are disclosed in the followingdetailed description and the accompanying drawings.

FIG. 1 is a block diagram illustrating an embodiment of a databasesystem.

FIG. 2 comprises a block diagram illustrating an embodiment of softwareobjects on a server system.

FIG. 3 is a block diagram illustrating an embodiment of a toggle object.

FIG. 4 is a block diagram illustrating an embodiment of a toggle server.

FIG. 5 is a block diagram illustrating an embodiment of a toggle centralobject.

FIG. 6 is a flow diagram illustrating an embodiment of a process forcreating a toggle.

FIG. 7 is a flow diagram illustrating an embodiment of a process forresponding to a toggle state query.

FIG. 8 is a flow diagram illustrating an embodiment of a process fordetermining a toggle value based at least in part on an indicated togglevalue and on a set of dependencies.

FIG. 9 is a flow diagram illustrating an embodiment of a process forsetting an indicated value for a toggle.

FIG. 10 is a flow diagram illustrating an embodiment of a process foroverriding a toggle.

FIG. 11 is a flow diagram illustrating an embodiment of a process foroverriding a toggle.

FIG. 12 is a flow diagram illustrating an embodiment of a process fordetermining a leader status.

DETAILED DESCRIPTION

The invention can be implemented in numerous ways, including as aprocess; an apparatus; a system; a composition of matter; a computerprogram product embodied on a computer readable storage medium; and/or aprocessor, such as a processor configured to execute instructions storedon and/or provided by a memory coupled to the processor. In thisspecification, these implementations, or any other form that theinvention may take, may be referred to as techniques. In general, theorder of the steps of disclosed processes may be altered within thescope of the invention. Unless stated otherwise, a component such as aprocessor or a memory described as being configured to perform a taskmay be implemented as a general component that is temporarily configuredto perform the task at a given time or a specific component that ismanufactured to perform the task. As used herein, the term ‘processor’refers to one or more devices, circuits, and/or processing coresconfigured to process data, such as computer program instructions.

A detailed description of one or more embodiments of the invention isprovided below along with accompanying figures that illustrate theprinciples of the invention. The invention is described in connectionwith such embodiments, but the invention is not limited to anyembodiment. The scope of the invention is limited only by the claims andthe invention encompasses numerous alternatives, modifications andequivalents. Numerous specific details are set forth in the followingdescription in order to provide a thorough understanding of theinvention. These details are provided for the purpose of example and theinvention may be practiced according to the claims without some or allof these specific details. For the purpose of clarity, technicalmaterial that is known in the technical fields related to the inventionhas not been described in detail so that the invention is notunnecessarily obscured.

A system for determining a toggle value comprises an input interface forreceiving a request for the toggle value associated with a toggle, and aprocessor for determining an indicated toggle value associated with thetoggle, determining the toggle value associated with the toggle based atleast in part on the indicated toggle value and a set of dependencies,and providing the toggle value associated with the toggle. The systemfor determining a toggle value additionally comprises a memory coupledto the processor and configured to provide the processor withinstructions.

In some embodiments, a system for synchronization of code executioncomprises a system comprising a toggle server. In some embodiments, thesystem for synchronization of code execution comprises a database systemcomprising a set of servers including a toggle server. In variousembodiments, the set of servers comprises a transaction server, adatabase server, an application programming interface (e.g., API)server, a user interface (e.g., UI) server, or any other appropriateservers. In some embodiments, modifications to the database systemsoftware comprise modifications to more than one server that need to beimplemented simultaneously. For example, in the event that the dataformat used for communications between the UI server and the transactionserver is updated, code on both the UI server and the transaction serverneeds to be modified. In some embodiments, the database system isutilized by multiple tenants (e.g., independent client customers), andit is desirable to use the updated software only for some of thetenants. The server systems thus need to be able to make a decisionevery time the updated software is run whether to run the updatedversion or the original version. The decision is made using a set offlags, referred to as toggles, centrally stored by the toggle server. Insome embodiments, the set of flags is referred to as feature toggles. Atoggle comprises an indication of whether or not a code segment shouldbe run. An indication is provided to the toggle server of the togglevalue (e.g., on or off) and the toggle server can be queried for thetoggle value when the code segment is to be run. Any code segment cancomprise an associated toggle for indicating whether it should be run.In some embodiments, the toggle comprises an associated tenant, allowingtoggle settings for a code segment to vary by tenant. In someembodiments, a toggle comprises associated dependencies, whereindependencies comprise other toggles that must be on in order for thetoggle to be on. In the event a first toggle depends on a second toggleand the second toggle is off, the toggle server will report that thefirst toggle also is off, regardless of the actual toggle setting of thefirst toggle. In some embodiments, two code segments comprisedependencies on each other—for example, a first toggle for a codesegment on the UI server comprises a dependency on a second toggle for acode segment on the transaction server, and the second toggleadditionally comprises a dependency on the first toggle. When the toggleserver is queried for the first toggle value or the second toggle value,the toggle server reports that either toggle is on only in the eventthat both toggles are set to on. In this way the transition between afirst code version and a second code version using toggles is guaranteedto be synchronized between servers. In various embodiments, a togglevalue determination has a complex dependency on different input valuesincluding an expression that is able to have functional dependenciesbetween the values—for example, the functions AND, OR, XOR, or any otherappropriate logical or mathematical functions.

FIG. 1 is a block diagram illustrating an embodiment of a databasesystem. In some embodiments, database system 100 of FIG. 1 comprises adatabase system for providing database services to multiple clients. Insome embodiments, clients contact database system 100 via UI server 102(e.g., using a user interface provided by UI server 102). In someembodiments, automated communications are made to database system 100via an application programming interface provided by API server 104.Database transactions indicated by clients are processed by transactionserver 106 and database data is stored by database server 108. In someembodiments, multiple independent clients utilize database system 100and have data stored in separate regions of database server 108. In theexample shown, each of UI server 102, API server 104, transaction server106, and database server 108 communicates with toggle server 110 to settoggle values and to query toggle values. In some embodiments, a codesegment running on a server (e.g., UI server 102, API server 104,transaction server 106, or database server 108) is associated with atoggle stored on toggle server 110. A toggle setting for the toggle isindicated to and stored by toggle server 110. The toggle value isevaluated to determine whether the associated code segment should berun. When the code segment is to be run, the server it is to be run onqueries the toggle server for a toggle value. In the event the togglevalue is on, the server runs the code segment. In various embodiments,in the event the toggle value is off, the server runs an alternate codesegment, the server skips the code segment, the server stops thecurrently running process, or the server performs any other appropriatealternate behavior. In some embodiments, each of UI server 102, APIserver 104, transaction server 106, database server 108, and toggleserver 110 comprise an interface (e.g., for communicating with otherserver systems), a processor (e.g., for processing received and/orstored data and/or instructions), and a memory (e.g., for storing dataand/or instructions).

FIG. 2 comprises a block diagram illustrating an embodiment of softwareobjects on a server system. In various embodiments, server system 200comprises UI server 102 of FIG. 1, API server 104 of FIG. 1, transactionserver 106 of FIG. 1, or database server 108 of FIG. 1. In someembodiments, software objects 202 comprise software objects forperforming software tasks, stored on a memory and implemented by aprocessor and/or an interface. In the example shown, software objects202 comprises a plurality of software objects (e.g., software object204, software object 214, or toggled functionality software object 208),each comprising object definitions (e.g., object definitions 206, objectdefinitions 210, or object definitions 216). In various embodiments,object definitions comprise variable definitions (e.g., definitions ofstored data), function definitions (e.g., definitions of softwarefunctions), relation definitions (e.g., definitions of relationships toother software objects), or any other appropriate definitions. In someembodiments, software objects comprise objects for performing portionsof the functionality of server system 200. Software objects 202comprises one or more toggled functionality software objects (e.g.,toggled functionality software object 208). In the example shown,toggled functionality software object 208 comprises object definitions210 (e.g., comprising variable definitions, function definitions,relation definitions, etc.), and toggle object 212. Toggle object 212comprises a toggle object associated with toggled functionality softwareobject 208. In some embodiments, toggle object 212 is associated withtoggled functionality software object 208 by a relation of objectdefinition 210. In some embodiments, toggle object 212 comprises asub-object of toggled functionality software object 208. In the exampleshown, object definition 210 comprises instructions for contactingtoggle object 212 when software (for example, a function defined by afunction definition of object definitions 210) is to be run. In someembodiments, toggle object 212 communicates with a toggle server todetermine whether software is to be run. In some embodiments, toggleobject 212 communicates with a toggle server to indicate whethersoftware is to be run.

FIG. 3 is a block diagram illustrating an embodiment of a toggle object.In some embodiments, toggle object 300 comprises toggle object 212 ofFIG. 2. In the example shown, toggle object 300 comprises toggle name302. In some embodiments, toggle name 302 is used by toggle object 300for identifying the toggle object to a toggle server. Toggle object 300comprises toggle definition logic 304. In some embodiments, toggledefinition logic 304 comprises logic for determining when to indicatethe toggle object as being on or off to the toggle server. In variousembodiments, toggle definition logic 304 comprises logic depending oninformation from other software objects of the same server (e.g.,software objects 202), on information stored on other server systems, oninformation retrieved from the Internet, on input information, or on anyother appropriate information. Toggle object 300 comprises toggle servercommunications 306. Toggle server communications 306 comprisesinformation for communicating with a toggle server (e.g., a path orlocation associated with toggle server 110 of FIG. 1). Toggle object 300communicates with the toggle server to indicate the value of the toggle(e.g., using toggle definition logic 304) and to query the value of thetoggle (e.g., in the event associated software is to be executed).

FIG. 4 is a block diagram illustrating an embodiment of a toggle server.In some embodiments, toggle server 400 comprises toggle server 110 ofFIG. 1. In the example shown, toggle server 400 comprises a plurality oftoggle central objects (e.g., toggle central object 402). Each togglecentral object comprises a set of information describing a toggle (e.g.,toggle name, toggle state, toggle dependencies, etc.). In someembodiments, each toggle central object is associated with a toggleobject associated with a software object on a server system. Toggleserver 400 comprises toggle object communications 404. Toggle objectcommunications 404 comprises information for communicating with a toggleobject (e.g., a path or location associated with toggle object 300 ofFIG. 3). Toggle server 400 communicates with the toggle object toindicate the value of the toggle (e.g., in response to a query), toreceive an indication of a toggle value, to receive an indication of anew toggle, or for any other appropriate purpose.

FIG. 5 is a block diagram illustrating an embodiment of a toggle centralobject. In some embodiments, toggle central object 500 comprises atoggle central object of FIG. 4 (e.g., toggle central object 402). Inthe example shown, toggle central object 500 comprises a plurality oftoggle information. Toggle name 502 comprises a toggle name foridentifying the toggle. Toggle service type 504 comprises a service(e.g., a server system type—for example, a UI server, a transactionserver, or a database server) the toggle is associated with. Toggletenant comprises a tenant (e.g., a database system client) name that thetoggle is associated with. Toggle value 508 comprises the value thetoggle has most recently been indicated to be. Toggle dependencies 510comprise names of other toggles that the toggle depends on (e.g., thetoggle will not be reported as being on unless the toggle and alldependent toggles are also on). Toggle listeners 512 comprise referencesto listener objects associated with the toggle. In some embodiments,listener objects comprise objects on a server system associated with thetoggle and configured to receive a toggle value for the toggle when thetoggle value changes. In some embodiments, the toggle server provides atoggle value to the listener objects when the evaluated toggle valuechanges. Toggle override 514 comprises a value indicating the toggle hasbeen overridden (e.g., a software object can indicate to the toggleserver that a toggle should be immediately shut off or immediatelyturned on regardless of the current states of input values and logicassociated with a toggle). Toggle privacy 516 comprises an indication ofwhether the toggle is publicly visible (e.g., whether the toggle isvisible by other software or toggles). Toggle leader 518 comprises anindication of an object instance of the associated toggle object. Insome embodiments, in the event there exist multiple object instances ofthe associated toggle object, one instance is determined to be theleader. The object instance that is the leader provides indications tothe toggle server of indications to change the toggle value. All objectinstances query the toggle server for the toggle value when determiningwhether to run.

FIG. 6 is a flow diagram illustrating an embodiment of a process forcreating a toggle. In some embodiments, the process of FIG. 6 comprisesa process for creating a toggle central object. In some embodiments, theprocess of FIG. 6 is executed by a toggle server (e.g., toggle server110 of FIG. 1). In the example shown, in 600, an indication to create anew toggle is received. In some embodiments, the indication to create anew toggle is received from a toggle object (e.g., toggle object 212 ofFIG. 2). In some embodiments, the indication comprises toggleinformation (e.g., toggle name, toggle dependencies, toggle tenant,toggle privacy, etc.). In 602, the new toggle is created. In 602, thetoggle name is stored. In 606, the toggle service is stored. In someembodiments, the toggle service comprises an object associated with thetoggle object. In 608, toggle dependencies are stored. In someembodiments, no toggle dependencies are stored. In 610, the associatedtoggle tenant. In some embodiments, no associated toggle tenant isstored. In 612, the toggle privacy (e.g., public or private) is stored.

FIG. 7 is a flow diagram illustrating an embodiment of a process forresponding to a toggle state query. In some embodiments, the process ofFIG. 7 is executed by a toggle server (e.g., toggle server 110 of FIG.1). In the example shown, in 700, a request for a toggle valueassociated with a toggle is received. In some embodiments, the toggle isidentified using a toggle name. In 702, it is determined whether thetoggle value is overridden. In some embodiments, determining whether thetoggle value is overridden comprises querying a toggle override valueassociated with the toggle stored by the toggle server. In the event itis determined that the toggle value is not overridden, control passes to706. In the event it is determined that the toggle value is overridden,control passes to 704. In 704, an indication is provided that the togglevalue is an override value, and the process ends. For example, it isindicated that the toggle value is the override value of off or theoverride value of on. In 706, an indicated toggle value associated withthe toggle is determined. In some embodiments, the indicated togglevalue comprises the most recently received indication of the togglevalue. In some embodiments, the indicated toggle value is stored by thetoggle server. In some embodiments, in the event the indicated togglevalue is determined to be off, the toggle value is determined to be off.In some embodiments, in the event the indicated toggle value isdetermined to be on, the toggle value is determined to be on. In 708, aset of dependencies associated with the toggle is determined. In someembodiments, the set of dependencies is stored by the toggle server. In710, the toggle value is determined based at least in part on theindicated toggle value and the set of dependencies. In some embodiments,the toggle value is determined to be on only if the indicated togglevalue and all toggles indicated by the set of dependencies aredetermined to be on. In some embodiments, the determined toggle value isdetermined based on the input toggle values that are part of a dependentset and a logic associated between the input toggle values to determinethe determined toggle value. For example, input toggle values arein1=On, in2=On, in3=Off and the logic is defined as v=in1 AND in2 OR in3or v=in1 AND in2 AND in3 or any other appropriate value function basedon a set of input values. In 712, the toggle value is provided. In someembodiments, the toggle value is used by a system to allow the executionof a code section (e.g., allowing in the event that the toggle value isON) or not allow or block the execution of a code section (e.g.,blocking in the event that the toggle value is OFF).

FIG. 8 is a flow diagram illustrating an embodiment of a process fordetermining a toggle value based at least in part on an indicated togglevalue and on a set of dependencies. In some embodiments, the process ofFIG. 8 implements 710 of FIG. 7. In the example shown, in 800, it isdetermined whether the indicated toggle value is on (e.g., whether thetoggle value has been set to on by software or by an administrator). Inthe event it is determined that the indicated toggle value is not on,control passes to 808. In the event it is determined that the togglevalue is on, control passes to 802. In 802, it is determined whether theindicated toggle value associated with every dependency of the set ofdependencies is on. In some embodiments, each dependency of the set ofdependencies is associated with a toggle. In the event it is determinedthat the indicated toggle value associated with every dependency of theset of dependencies is not on, control passes to 808. In the event it isdetermined that the indicated toggle value associated with everydependency of the set of dependencies is on, control passes to 804. In804, it is determined whether the indicated toggle value associated withevery descendent dependency from the set of dependencies is on. In someembodiments, each dependency of the set of dependencies is associatedwith its own set of dependencies. In various embodiments, descendentdependencies comprise dependencies of dependencies, dependencies ofdependencies of dependencies, dependencies of dependencies ofdependencies of dependencies, etc. In some embodiments, it is typicalthat a first toggle depends on a second toggle and the second toggledepends on the first toggle, but the chain of dependencies does notextend further. In some embodiments, extended chains of dependencies arepossible. In some embodiments, determining whether the indicated togglevalue associated with every dependency of the set of dependencies is onand determining whether the indicated toggle value associated with everydescendent dependency from the set of dependencies is on comprisesdetermining a dependency value associated with the set of dependencies.In the example shown, in the event it is determined that the indicatedtoggle value associated with every descendent dependency from the set ofdependencies is not on, control passes to 808. In the event it isdetermined that the indicated toggle value associated with everydescendent dependency from the set of dependencies is on, control passesto 806. In 806, the process indicates that the toggle value is on, andthe process ends. In 808, the process indicates that the toggle value isoff.

In some embodiments, the toggle value is used by a system to allow theexecution of a code section (e.g., allowing in the event that the togglevalue is ON) or not allow or block the execution of a code section(e.g., blocking in the event that the toggle value is OFF).

FIG. 9 is a flow diagram illustrating an embodiment of a process forsetting an indicated value for a toggle. In some embodiments, theprocess of FIG. 9 comprises a process for responding to an indication toset a toggle value. In some embodiments, the process of FIG. 9 isexecuted by a toggle server (e.g., toggle server 110 of FIG. 1). In theexample shown, in 900, an indication to set a toggle value associatedwith a toggle to a value is received. In 902, the value is stored as theindicated toggle value associated with the toggle. In 904, it isdetermined whether the evaluated toggle value associated with the togglechanged. In some embodiments, the evaluated toggle value comprises thevalue determined by the process of FIG. 8. In some embodiments, theevaluated toggle value changes only when the indicated toggle valuechanges and all of the indicated toggle values associated with theassociated toggle dependences are indicated to be on. In the event it isdetermined that the evaluated toggle value did not change, controlpasses to 908. In the event it is determined that the evaluated togglevalue changed, control passes to 906. In 906, any listener objectsassociated with the toggle are provided an indication of the newevaluated toggle value. In 908, it is determined whether the evaluatedtoggle value associated with a dependent toggle has changed. In someembodiments, the evaluated toggle value is determined for each dependenttoggle in order to determine if any have changed. In the event noevaluated toggle value associated with a dependent toggle has changed,the process ends. In the event an evaluated toggle value associated witha dependent toggle has changed, control passes to 910. In 910, anindication is provided to any listener objects associated with thedependent toggle (e.g., the dependent toggle with the evaluated valuethat has changed) of the new evaluated toggle value.

FIG. 10 is a flow diagram illustrating an embodiment of a process foroverriding a toggle. In some embodiments, the process of FIG. 10 isexecuted by a toggle server (e.g., toggle server 110 of FIG. 1). In theexample shown, in 1000, an indication to override a toggle is received.In various embodiments, the indication to override a toggle is receivedfrom a developer, from an administrator, from toggle override software,or from any other appropriate source. In some embodiments, a toggleoverride is used to cancel a function that is not behaving as desired.In 1002, the override is stored associated with the toggle (e.g., in atoggle override of a toggle central server).

FIG. 11 is a flow diagram illustrating an embodiment of a process foroverriding a toggle. In some embodiments, the process of FIG. 11 isexecuted by a toggle server (e.g., toggle server 110 of FIG. 1). In1100, an indication to cancel an override for a toggle is received. In1102, the override associated with the toggle is cancelled (e.g., in atoggle override of a toggle central server).

In some embodiments, the override is used by a system to allow theexecution of a code section (e.g., allowing regardless of the value of atoggle) or not allow or block the execution of a code section (e.g.,blocking regardless of a value for a toggle).

FIG. 12 is a flow diagram illustrating an embodiment of a process fordetermining a leader status. In some embodiments, the process of FIG. 12is executed by a server system (e.g., server system 200 of FIG. 2). Inthe example shown, in 1200, it is determined to instantiate a new toggleobject. In some embodiments, determining to instantiate a new toggleobject comprises determining to instantiate a new toggled functionalitysoftware object. In 1202, the toggle object is instantiated. In 1204 itis determined whether there is a leader object associated with thetoggle object. In some embodiments, determining whether there is aleader object associated with the toggle object comprises querying atoggle server. In the event it is determined that there is a leaderobject, the process ends. In the event it is determined that there isnot a leader object, control passes to 1206. In 1206, it is indicated tothe toggle server that the toggle object instance is the leader. In1208, an indication is stored that the toggle object is the leader.

Although the foregoing embodiments have been described in some detailfor purposes of clarity of understanding, the invention is not limitedto the details provided. There are many alternative ways of implementingthe invention. The disclosed embodiments are illustrative and notrestrictive.

What is claimed is:
 1. A method for determining a toggle value,comprising: receiving a request for the toggle value associated with atoggle; determining, using a processor, an indicated toggle valueassociated with the toggle; determining the toggle value associated withthe toggle based at least in part on the indicated toggle value and aset of dependencies; providing the toggle value associated with thetoggle; and determining that the toggle value associated with the toggleis off in the event that the indicated toggle value associated with thetoggle is off.
 2. A method for determining a toggle value, comprising:receiving a request for the toggle value associated with a toggle;determining, using a processor, an indicated toggle value associatedwith the toggle; determining the toggle value associated with the togglebased at least in part on the indicated toggle value and a set ofdependencies; providing the toggle value associated with the toggle; anddetermining a dependency value associated with the set of dependencies.3. The method of claim 2, wherein the dependency value is on in theevent that a toggle value associated with each dependency of the set ofdependencies is on and a toggle value associated with all descendentdependencies from the set of dependencies is on.
 4. The method of claim2, wherein the toggle value is determined to be on in the event that theindicated value associated with the toggle is determined to be on andthe dependency value associated with the set of dependencies isdetermined to be on.
 5. A method for determining a toggle value,comprising: receiving a request for the toggle value associated with atoggle; determining, using a processor, an indicated toggle valueassociated with the toggle; determining the toggle value associated withthe toggle based at least in part on the indicated toggle value and aset of dependencies; providing the toggle value associated with thetoggle; and determining the toggle value associated with the toggle isoff in the event that an override value associated with the toggle ison.
 6. A method for determining a toggle value, comprising: receiving arequest for the toggle value associated with a toggle; determining,using a processor, an indicated toggle value associated with the toggle;determining the toggle value associated with the toggle based at leastin part on the indicated toggle value and a set of dependencies;providing the toggle value associated with the toggle; receiving anindication to set the toggle value associated with the toggle to avalue; and storing the value as the indicated toggle value associatedwith the toggle.
 7. The method of claim 6, further comprising:determining whether an evaluated toggle value associated with the togglehas changed; and in the event it is determined that the evaluated togglevalue associated with the toggle has changed: providing an indication toany listener objects associated with the toggle of a new evaluatedtoggle value.
 8. The method of claim 6, further comprising: determiningwhether an evaluated toggle value associated with a dependent toggle haschanged; and in the event it is determined that the evaluated togglevalue associated with a dependent toggle has changed: providing anindication to any listener objects associated with the dependent toggleof a new evaluated toggle value.
 9. A method for determining a togglevalue, comprising: receiving a request for the toggle value associatedwith a toggle; determining, using a processor, an indicated toggle valueassociated with the toggle; determining the toggle value associated withthe toggle based at least in part on the indicated toggle value and aset of dependencies; providing the toggle value associated with thetoggle; and creating a new toggle.
 10. A method for determining a togglevalue, comprising: receiving a request for the toggle value associatedwith a toggle; determining, using a processor, an indicated toggle valueassociated with the toggle; determining the toggle value associated withthe toggle based at least in part on the indicated toggle value and aset of dependencies; and providing the toggle value associated with thetoggle, wherein the toggle is associated with a tenant of a set oftenants.
 11. A method for determining a toggle value, comprising:receiving a request for the toggle value associated with a toggle,wherein the request for the toggle value is associated with a tenant ofa set of tenants; determining, using a processor, an indicated togglevalue associated with the toggle; determining the toggle valueassociated with the toggle based at least in part on the indicatedtoggle value and a set of dependencies; and providing the toggle valueassociated with the toggle.
 12. A method for determining a toggle value,comprising: receiving a request for the toggle value associated with atoggle; determining, using a processor, an indicated toggle valueassociated with the toggle; determining the toggle value associated withthe toggle based at least in part on the indicated toggle value and aset of dependencies; and providing the toggle value associated with thetoggle, wherein the toggle is associated with a privacy setting.
 13. Amethod for determining a toggle value, comprising: receiving a requestfor the toggle value associated with a toggle; determining, using aprocessor, an indicated toggle value associated with the toggle;determining the toggle value associated with the toggle based at leastin part on the indicated toggle value and a set of dependencies; andproviding the toggle value associated with the toggle, wherein thetoggle is associated with a set of listeners.
 14. A method fordetermining a toggle value, comprising: receiving a request for thetoggle value associated with a toggle; determining, using a processor,an indicated toggle value associated with the toggle; determining thetoggle value associated with the toggle based at least in part on theindicated toggle value and a set of dependencies; providing the togglevalue associated with the toggle; receiving an indication to overridethe toggle; and storing the override associated with the toggle.
 15. Amethod for determining a toggle value, comprising: receiving a requestfor the toggle value associated with a toggle; determining, using aprocessor, an indicated toggle value associated with the toggle;determining the toggle value associated with the toggle based at leastin part on the indicated toggle value and a set of dependencies;providing the toggle value associated with the toggle; receiving anindication to cancel an override for the toggle; and canceling theoverride associated with the toggle.
 16. A method for determining atoggle value, comprising: receiving a request for the toggle valueassociated with a toggle; determining, using a processor, an indicatedtoggle value associated with the toggle; determining the toggle valueassociated with the toggle based at least in part on the indicatedtoggle value and a set of dependencies; providing the toggle valueassociated with the toggle; receiving an indication that a toggle objectinstance is a leader; and storing an indication of the leader objectinstance associated with the toggle.
 17. A method for determining atoggle value, comprising: receiving a request for the toggle valueassociated with a toggle; determining, using a processor, an indicatedtoggle value associated with the toggle; determining the toggle valueassociated with the toggle based at least in part on the indicatedtoggle value and a set of dependencies; providing the toggle valueassociated with the toggle; and determining the set of dependenciesassociated with the toggle.